type runtime.mheap
24 uses
runtime (current package)
arena.go#L896: func (h *mheap) allocUserArenaChunk() *mspan {
malloc.go#L621: func (h *mheap) sysAlloc(n uintptr, hintList **arenaHint, register bool) (v unsafe.Pointer, size uintptr) {
malloc.go#L860: func (h *mheap) enableMetadataHugePages() {
mgcsweep.go#L99: func (h *mheap) nextSpanForSweep() *mspan {
mheap.go#L61: type mheap struct {
mheap.go#L233: var mheap_ mheap
mheap.go#L533: h := (*mheap)(vh)
mheap.go#L752: func (h *mheap) init() {
mheap.go#L788: func (h *mheap) reclaim(npage uintptr) {
mheap.go#L864: func (h *mheap) reclaimChunk(arenas []arenaIdx, pageIdx, n uintptr) uintptr {
mheap.go#L957: func (h *mheap) alloc(npages uintptr, spanclass spanClass) *mspan {
mheap.go#L990: func (h *mheap) allocManual(npages uintptr, typ spanAllocType) *mspan {
mheap.go#L999: func (h *mheap) setSpans(base, npage uintptr, s *mspan) {
mheap.go#L1023: func (h *mheap) allocNeedsZero(base, npage uintptr) (needZero bool) {
mheap.go#L1088: func (h *mheap) tryAllocMSpan() *mspan {
mheap.go#L1111: func (h *mheap) allocMSpanLocked() *mspan {
mheap.go#L1143: func (h *mheap) freeMSpanLocked(s *mspan) {
mheap.go#L1175: func (h *mheap) allocSpan(npages uintptr, typ spanAllocType, spanclass spanClass) (s *mspan) {
mheap.go#L1381: func (h *mheap) initSpan(s *mspan, typ spanAllocType, spanclass spanClass, base, npages uintptr) {
mheap.go#L1464: func (h *mheap) grow(npage uintptr) (uintptr, bool) {
mheap.go#L1549: func (h *mheap) freeSpan(s *mspan) {
mheap.go#L1582: func (h *mheap) freeManual(s *mspan, typ spanAllocType) {
mheap.go#L1591: func (h *mheap) freeSpanLocked(s *mspan, typ spanAllocType) {
mheap.go#L1653: func (h *mheap) scavengeAll() {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |